package com.weipai.education.dao;

import com.weipai.education.model.UserAddress;

import java.util.List;

/**
 * @Author: 曹朋飞
 * @Date: 2018/12/18 09:38
 */
public interface UserAddressDao {
    
    List<UserAddress> getUserAddress(String userId);

    UserAddress getUserIsDefaultAddress(String userId, int isDefault);

    int update(UserAddress userAddress1);

    int insert(UserAddress userAddress);

    int deleteUserAddress(String id);
}
